package com.gxa.dao.goods;

import com.gxa.pojo.goods.Goods;
import com.gxa.pojo.goods.Goods1;
import com.gxa.pojo.goods.GoodsOneType;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GoodsMapper {
    public List<Goods> selectAll();
    public int insertgoods(@Param("goo1") Goods goods);
    int insertgoddss(@Param("goo") List<Goods> goods);

    public List<Goods> selectif(@Param("goo") Goods goods);
    public int updata(@Param("goo") Goods goods);
    public List<Goods1> selectByPage(@Param("begin") int begin, @Param("size") int size, @Param("goo") Goods goods);
    public int selectallPage();
    public int updatas(@Param("gid") int gid, @Param("state") int state);

}
